package com.intellagric.agriecom.module.agriecom_produce_param;

import com.intellagric.common.pojo.LayuiDataGridResult;
import com.intellagric.common.pojo.ResponseMessage;
import com.intellagric.pojo.AgriecomProduceParam;
import org.springframework.web.bind.annotation.RequestParam;


public interface ParamService {
    ResponseMessage addParam(AgriecomProduceParam vo);

    AgriecomProduceParam selectParamById(String id);

    LayuiDataGridResult deleteParamById(String id);

    LayuiDataGridResult batchDelete(String [] ids);

    ResponseMessage updateParamByVo(AgriecomProduceParam vo);

    LayuiDataGridResult getParamList(int page, int limit);

    LayuiDataGridResult getParamListByCategory(String categoryId,int page, int limit);

    LayuiDataGridResult getParamListByCategory(String categoryId);

    LayuiDataGridResult getRelationParamList(int page, int limit);

    LayuiDataGridResult getListByKeyword(int page,int limit, String keyword);

}
